package com.gcxy.service;

import com.gcxy.dto.Account.*;
import com.gcxy.entity.AccountInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcxy.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wlp
 * @since 2023-12-20
 */
public interface AccountInfoService extends IService<AccountInfo> {

    R login(LoginDto requestBody);

    R register(RegisterDto requestBody);

    R current(String token);

    R addAccount(InsertDto requestBody);

    R pageAccount(AccountPageDto requestBody);

    R updateAccount(UpdateDto requestBody);

    R updateState(String account, Integer accState);
}
